public class Foo {
  @Override
  protected void finalize() throws Throwable {		
    System.out.println("Finalize is called.");
    super.finalize();
  }
}
